package problem2;

public class RedApple extends Apple implements Comparable<Apple> {
	
	private int redness = 50;
	
	public int getRedness() {
		return redness;
	}

	public RedApple() {}
	
	public RedApple(int m) {
		super(m);
	}
	
	public RedApple(int m, int r) {
		this(m);
		redness=r;
	}
		
	public String toString() {
		return "Red"+super.toString()+" redness="+redness;
	}
}
